package tests;



import client.GUI;
import junit.framework.TestCase;


public class TestGUI extends TestCase {
	
	private GUI gui;
	
	public void setUp(){
		gui = new GUI();
	}
	
	public void testCheckStringa(){
		String stringa="@[]#@";
		String stringa2="nomeOK";
		assertFalse(gui.checkStringaValida(stringa));
		assertTrue(gui.checkStringaValida(stringa2));
	}
	
/*
	public void testDecodifica(){
		String stringa="toDecode";
		assertNotNull(GUI.decodifica(stringa));
	}
	
	*/
	public void tearDown(){
		gui= null;
	}


}
